@model List<ToDoListWeb.ViewModels.MattersViewModel>
@section head{
<link href="~/css/MatterThings/searchMatters.css" rel="stylesheet" />
}
@{
}
<div id="set-background-color">
    <div class="at-center">
        <div>
            <form action="/Matter/Search" method="post">
                <input id="search-input-box" name="text" type="text" required="required" placeholder="请输入您要查找的内容" />
                <input class="search" type="submit" value="搜索" />
            </form>
        </div>
        <ul>
            @foreach (var matter in Model)
            {
                <li>
                    <a href="/Matter/CompileMatterView?matterId=@matter.MatterId">
                        <div class="curve"><label>清单名: </label> @matter.InventoryName</div>
                        <div class="curve"><label>事项内容: </label> @matter.MatterContent</div>
                        <div class="curve"><label>过期时间: </label> @matter.OverTime</div>
                    </a>
                </li>
            }
        </ul>
    </div>
</div>
<script src="~/js/matter.js" type="text/javascript"></script>

